package profile.utils

import com.typesafe.config.ConfigFactory

/**
  * Created by hunter.coder 涛哥  
  * 2019/4/27 11:14
  * 交流qq:657270652
  * Version: 1.0
  * 更多学习资料：https://blog.csdn.net/coderblack/
  * Description:  用户画像相关配置加载工具
  **/
object TagConfigUtil {

  val config = ConfigFactory.load("reduction_factor")

  def getTagReductionFactor(name:String):Double={


    config.getDouble(name)
  }

  def main(args: Array[String]): Unit = {
    println(TagConfigUtil.getTagReductionFactor("idsTags"))
  }

}
